package com.ea.modular.model.sys;

import com.ea.common.parent.model.DataModel;

/**
 * 机构管理Bean
 * @author jun
 *
 */
public class Office extends DataModel<Office>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String parentId;//父级ID
	private String parentIds;//父级ID集
	private String name;//机构名
	private String sort;//排序
	private String code;//机构编码
	private String type;//机构类别
	private String address;//地址
	private String zipCode;//邮编
	private String master;//负责人
	private String phone;//电话
	private String fax;//传真
	private String email;//邮箱
	private String useable;//是否启用
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getParentIds() {
		return parentIds;
	}
	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getZipCode() {
		return zipCode;
	}
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	public String getMaster() {
		return master;
	}
	public void setMaster(String master) {
		this.master = master;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getUseable() {
		return useable;
	}
	public void setUseable(String useable) {
		this.useable = useable;
	}
	@Override
	public String toString() {
		return "Office [parentId=" + parentId + ", parentIds=" + parentIds + ", name=" + name + ", sort=" + sort
				+ ", code=" + code + ", type=" + type + ",  address=" + address + ", zipCode="
				+ zipCode + ", master=" + master + ", phone=" + phone + ", fax=" + fax + ", email=" + email
				+ ", useable=" + useable + "]";
	}

	
	
	

}
